<template>
<p><code>disabled</code> 属性可以用来控制单选框的禁用状态。</p>
<div text="sm" m="y-4" data-v-72294632=""><p>你只需要为单选框设置 <code>disabled</code> 属性就能控制其禁用状态。</p>
</div>
  <el-radio v-model="radio" disabled value="disabled">Option A</el-radio>
  <el-radio v-model="radio" disabled value="selected and disabled">
    Option B
  </el-radio>
</template>

<script lang="ts" setup>
import { ref } from 'vue'

const radio = ref('selected and disabled')
</script>

<style scoped>
@import '../../assets/elementPlusDemo.css'
</style>